package com.hsyt.pms.api.enums;

/**
 * @Description: TODO
 * @author wangze@hsyuntai.com
 * @date 2019年2月12日 下午2:45:51
 */
public enum  DataType {

    STRING("string", "字符串"),
    INT("int", "整数"),
    FLOAT("float", "小数"),
    DATETIME("datetime", "日期与时间"),
    DATE("date", "日期"),
    MULTI("multi", "多值");

    private String code;
    private String name;

    private DataType(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
